/**
 * The User entity.
 *
 * @author    
 * @version $Revision: $, $Date: 2006/07/07 20:04:13 $
 *
 *
 */
class User {
    static mapping = {
         table 'Dv_User'
         version false
         id  column:'UserID'
         username column:'UserName' 
         userpassword column:'UserPassword' 
         useremail column:'UserEmail' 
         userpost column:'UserPost' 
         usertopic column:'UserTopic' 
         usersign column:'UserSign' 
         usersex column:'UserSex' 
         userface column:'UserFace' 
         userwidth column:'UserWidth' 
         userheight column:'UserHeight' 
         userim column:'UserIM' 
         joindate column:'JoinDate' 
         lastlogin column:'LastLogin' 
         userlogins column:'UserLogins' 
         userviews column:'UserViews' 
         lockuser column:'LockUser' 
         userclass column:'UserClass' 
         usergroup column:'UserGroup' 
         usermoney column:'UserMoney' 
         userticket column:'UserTicket' 
         userwealth column:'userWealth' 
         userep column:'userEP' 
         usercp column:'userCP' 
         userpower column:'UserPower' 
         userdel column:'UserDel' 
         userisbest column:'UserIsBest' 
         usertitle column:'UserTitle' 
         userbirthday column:'UserBirthday' 
         userquesion column:'UserQuesion' 
         useranswer column:'UserAnswer' 
         userlastip column:'UserLastIP' 
         userphoto column:'UserPhoto' 
         userfav column:'UserFav' 
         userinfo column:'UserInfo' 
         usersetting column:'UserSetting' 
         usergroupid column:'UserGroupID' 
         titlepic column:'TitlePic' 
         userhidden column:'UserHidden' 
         usermsg column:'UserMsg' 
         ischallenge column:'IsChallenge' 
         usermobile column:'UserMobile' 
         truepassword column:'TruePassWord' 
         usertoday column:'UserToday' 
         userisava column:'UserIsAva' 
         useravasetting column:'UserAvaSetting' 
         followmsgid column:'FollowMsgID' 
         vipStartime column:'Vip_StarTime' 
         vipEndtime column:'Vip_EndTime' 
         passport column:'Passport' 
         userCompanyInfo column:'User_Company_Info' 
         userFxProvince column:'User_Fx_Province' 
         userFxCity column:'User_Fx_City' 
         userFxArea column:'User_Fx_Area' 
         userWorkProvince column:'User_Work_Province' 
         userWorkCity column:'User_Work_City' 
         userWorkArea column:'User_Work_Area' 
         userCompany column:'User_company' 
         userTel column:'User_Tel' 
         userFax column:'User_Fax' 
         userNewsNum column:'User_news_num' 
         userIaskNum column:'User_Iask_Num' 
         usernickname column:'UserNickName' 
         userrealname column:'UserRealName' 
         userNetclass column:'User_NetClass' 
         userAddr column:'User_Addr' 
         userzj column:'userzj' 
         userFootstepGone column:'user_footstep_gone' 
         userFootstepTogo column:'user_footstep_togo' 
         userDianping column:'user_dianping' 
         userOrder column:'user_order' 
         userMemo column:'user_memo' 
         userParentid column:'user_parentid' 
         userDaoyouzheng column:'user_daoyouzheng' 
         userDyzimg column:'user_dyzimg' 
         userDytype column:'user_dytype' 
         user51mapLa column:'user_51map_la' 
         user51mapLo column:'user_51map_lo' 
         user51mapZoom column:'user_51map_zoom' 
         userDomain column:'user_domain' 
         userDuty column:'user_duty' 
         userDept column:'user_dept' 
         userYewu column:'user_yewu' 
         userLxs column:'user_lxs' 
         usersWdSkin column:'users_wd_skin' 
         userKanming column:'user_kanming' 
         userDeptid column:'user_deptid' 
         userAtdeptid column:'user_atdeptid' 
         zxBh column:'zx_bh' 
         companySn column:'company_sn' 
         callcenterDn column:'callcenter_dn' 
    }
    java.lang.String username
    java.lang.String userpassword
    java.lang.String useremail
    java.lang.Integer userpost
    java.lang.Integer usertopic
    java.lang.String usersign
    java.lang.Byte usersex
    java.lang.String userface
    java.lang.Integer userwidth
    java.lang.Integer userheight
    java.lang.String userim
    java.sql.Timestamp joindate
    java.sql.Timestamp lastlogin
    java.lang.Integer userlogins
    java.lang.Integer userviews
    java.lang.Byte lockuser
    java.lang.String userclass
    java.lang.String usergroup
    java.lang.String usermoney
    java.lang.String userticket
    java.lang.String userwealth
    java.lang.String userep
    java.lang.String usercp
    java.lang.String userpower
    java.lang.Integer userdel
    java.lang.Integer userisbest
    java.lang.String usertitle
    java.lang.String userbirthday
    java.lang.String userquesion
    java.lang.String useranswer
    java.lang.String userlastip
    java.lang.String userphoto
    java.lang.String userfav
    java.lang.String userinfo
    java.lang.String usersetting
    java.lang.Integer usergroupid
    java.lang.String titlepic
    java.lang.Byte userhidden
    java.lang.String usermsg
    java.lang.Byte ischallenge
    java.lang.String usermobile
    java.lang.String truepassword
    java.lang.String usertoday
    java.lang.Byte userisava
    java.lang.String useravasetting
    java.lang.String followmsgid
    java.sql.Timestamp vipStartime
    java.sql.Timestamp vipEndtime
    java.lang.String passport
    java.lang.String userCompanyInfo
    java.lang.String userFxProvince
    java.lang.String userFxCity
    java.lang.String userFxArea
    java.lang.String userWorkProvince
    java.lang.String userWorkCity
    java.lang.String userWorkArea
    java.lang.String userCompany
    java.lang.String userTel
    java.lang.String userFax
    java.lang.Integer userNewsNum
    java.lang.Integer userIaskNum
    java.lang.String usernickname
    java.lang.String userrealname
    java.lang.String userNetclass
    java.lang.String userAddr
    java.lang.String userzj
    java.lang.String userFootstepGone
    java.lang.String userFootstepTogo
    java.lang.Integer userDianping
    java.lang.Integer userOrder
    java.lang.String userMemo
    java.lang.Integer userParentid
    java.lang.String userDaoyouzheng
    java.lang.String userDyzimg
    java.lang.Integer userDytype
    java.lang.Float user51mapLa
    java.lang.Float user51mapLo
    java.lang.String user51mapZoom
    java.lang.String userDomain
    java.lang.String userDuty
    java.lang.String userDept
    java.lang.String userYewu
    java.lang.String userLxs
    java.lang.String usersWdSkin
    java.lang.String userKanming
    java.lang.Integer userDeptid
    java.lang.Integer userAtdeptid
    java.lang.Float zxBh
    java.lang.String companySn
    java.lang.String callcenterDn
    UserDomain domain
    static belongsTo = UserDomain;
    static constraints = {
        username(size: 0..50)
        userpassword(size: 0..20)
        useremail(size: 0..255)
        userpost(nullable: true)
        usertopic(nullable: true)
        usersign(size: 0..255)
        usersex(nullable: true)
        userface(size: 0..500)
        userwidth(nullable: true)
        userheight(nullable: true)
        userim()
        joindate(nullable: true)
        lastlogin(nullable: true)
        userlogins(nullable: true)
        userviews(nullable: true)
        lockuser(nullable: true)
        userclass(size: 0..20)
        usergroup(size: 0..50)
        usermoney(nullable: true)
        userticket(nullable: true)
        userwealth(nullable: true)
        userep(nullable: true)
        usercp(nullable: true)
        userpower(nullable: true)
        userdel(nullable: true)
        userisbest(nullable: true)
        usertitle(size: 0..50)
        userbirthday(size: 0..50)
        userquesion(size: 0..50)
        useranswer(size: 0..50)
        userlastip(size: 0..30)
        userphoto(size: 0..255)
        userfav(size: 0..255)
        userinfo()
        usersetting(size: 0..255)
        usergroupid(nullable: false)
        titlepic(size: 0..50)
        userhidden(nullable: true)
        usermsg(size: 0..100)
        ischallenge(nullable: true)
        usermobile(size: 0..20)
        truepassword(size: 0..20)
        usertoday(size: 0..250)
        userisava(nullable: true)
        useravasetting()
        followmsgid()
        vipStartime(nullable: true)
        vipEndtime(nullable: true)
        passport(size: 0..50)
        userCompanyInfo()
        userFxProvince(size: 0..1000)
        userFxCity(size: 0..50)
        userFxArea(size: 0..50)
        userWorkProvince(size: 0..50)
        userWorkCity(size: 0..50)
        userWorkArea(size: 0..50)
        userCompany(size: 0..50)
        userTel(size: 0..50)
        userFax(size: 0..50)
        userNewsNum(nullable: true)
        userIaskNum(nullable: true)
        usernickname(size: 0..50)
        userrealname(size: 0..50)
        userNetclass(size: 1..32, blank: false)
        userAddr(size: 0..100)
        userzj(size: 1..50, blank: false)
        userFootstepGone()
        userFootstepTogo()
        userDianping(nullable: false)
        userOrder(nullable: false)
        userMemo(size: 0..2000)
        userParentid(nullable: true)
        userDaoyouzheng(size: 0..50)
        userDyzimg(size: 0..100)
        userDytype(nullable: true)
        user51mapLa(nullable: true)
        user51mapLo(nullable: true)
        user51mapZoom(size: 0..50)
        userDomain(size: 0..200)
        userDuty(size: 0..200)
        userDept(size: 0..200)
        userYewu(size: 0..200)
        userLxs(size: 0..200)
        usersWdSkin(size: 0..50)
        userKanming(size: 0..50)
        userDeptid(nullable: true)
        userAtdeptid(nullable: true)
        zxBh(nullable: true)
        companySn(size: 0..6)
        callcenterDn(size: 0..8)
    }
}
